/**
 * @filename:Abnormal Jan 16, 2025
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(异常处理单实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_pur_abnormal")
@ApiModel(value="t_pur_abnormal对象", description="异常处理单表")
public class Abnormal extends Model<Abnormal> {

	private static final long serialVersionUID = 1737011010108436L;
	
	@TableId(value ="Id", type = IdType.AUTO)
	@ApiModelProperty(name = "Id" , value = "编号")
    private Long Id;
    
    @TableField(value = "ReceiveBillNo") 	
	@ApiModelProperty(name = "ReceiveBillNo" , value = "收料通知单号")
    private String ReceiveBillNo;
    
    @TableField(value = "SourceQty") 	
	@ApiModelProperty(name = "SourceQty" , value = "源单数量")
    private Double SourceQty;
    
    @TableField(value = "AbnormalQty") 	
	@ApiModelProperty(name = "AbnormalQty" , value = "异常数量")
    private Double AbnormalQty;
    
    @TableField(value = "PurBillNo") 	
	@ApiModelProperty(name = "PurBillNo" , value = "采购订单单据号")
    private String PurBillNo;
    
    @TableField(value = "MaterialNumber") 	
	@ApiModelProperty(name = "MaterialNumber" , value = "物料编码")
    private String MaterialNumber;
    
    @TableField(value = "MaterialName") 	
	@ApiModelProperty(name = "MaterialName" , value = "物料名称")
    private String MaterialName;
    
    @TableField(value = "UnitNumber") 	
	@ApiModelProperty(name = "UnitNumber" , value = "单位编码")
    private String UnitNumber;
    
    @TableField(value = "UnitName") 	
	@ApiModelProperty(name = "UnitName" , value = "单位名称")
    private String UnitName;
    
    @TableField(value = "Date") 	
	@ApiModelProperty(name = "Date" , value = "日期")
    private Date Date;

    @TableField(value = "BillNo")
    @ApiModelProperty(name = "BillNo" , value = "异常处理单单号")
    private String BillNo;

    @TableField(value = "bcWeight")
    @ApiModelProperty(name = "bcWeight" , value = "本次数量")
    private Double bcWeight;
	@Override
    public Serializable pkVal() {
        return this.Id;
    }
   
}
